package com.example.client;

public class Person {

    private String name;
    private String age;
    private Leg leg;

    public Person(String name, String age, Leg leg) {
        this.name = name;
        this.age = age;
        this.leg = leg;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public Leg getLeg() {
        return leg;
    }

    public void setLeg(Leg leg) {
        this.leg = leg;
    }
}
